//    Copyright (C) Kherty.  All rights reserved.
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Windows;

namespace OpenLS.Drawing.UI.Internals
{
    public class DrawingTemplates
    {
        static readonly PaperSizeResources _paperSizeResources = new PaperSizeResources();
        static readonly DrawingResources _drawingResources = new DrawingResources();
        public static DataTemplate PaperSizeTemplate
        {
            get
        {
            var result= (DataTemplate)_paperSizeResources["PaperSizeTemplate"];
            Contract.Assert(result != null);
            return result;
        }}
        public static DataTemplate SmallThemeTemplate
        {
            get
            {
                var result = (DataTemplate)_drawingResources["smallThemeTemplate"];
                Contract.Assert(result != null);
                return result;
            }
        }
        public static DataTemplate SmallFontScheme
        {
            get
            {
                return (DataTemplate)_drawingResources["smallFontScheme"];
            }
        }
        public static DataTemplate SmallColorScheme
        {
            get
            {
                return (DataTemplate)_drawingResources["smallColorScheme"];
            }
        }
    }
}